<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Jetson Inference: glDisplay Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="NVLogo_2D.jpg"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Jetson Inference
   </div>
   <div id="projectbrief">DNN Vision Library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classglDisplay.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="classglDisplay-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">glDisplay Class Reference<div class="ingroups"><a class="el" href="group__util.html">Utilities Library (jetson-utils)</a> &raquo; <a class="el" href="group__OpenGL.html">OpenGL</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>OpenGL display window / video viewer.  
 <a href="classglDisplay.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="glDisplay_8h_source.html">glDisplay.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3978a9f43490e6f19268ca5225679c60"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a3978a9f43490e6f19268ca5225679c60">~glDisplay</a> ()</td></tr>
<tr class="memdesc:a3978a9f43490e6f19268ca5225679c60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destroy window.  <a href="#a3978a9f43490e6f19268ca5225679c60">More...</a><br /></td></tr>
<tr class="separator:a3978a9f43490e6f19268ca5225679c60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33ed83d87e71cbfcef7347b41f541203"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a33ed83d87e71cbfcef7347b41f541203">BeginRender</a> (bool userEvents=true)</td></tr>
<tr class="memdesc:a33ed83d87e71cbfcef7347b41f541203"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear window and begin rendering a frame.  <a href="#a33ed83d87e71cbfcef7347b41f541203">More...</a><br /></td></tr>
<tr class="separator:a33ed83d87e71cbfcef7347b41f541203"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97612036c5849cb4d7026337f2603c87"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a97612036c5849cb4d7026337f2603c87">EndRender</a> ()</td></tr>
<tr class="memdesc:a97612036c5849cb4d7026337f2603c87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finish rendering and refresh / flip the backbuffer.  <a href="#a97612036c5849cb4d7026337f2603c87">More...</a><br /></td></tr>
<tr class="separator:a97612036c5849cb4d7026337f2603c87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a528c58b4fcecd7d3d516f44de3233538"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a528c58b4fcecd7d3d516f44de3233538">Render</a> (<a class="el" href="classglTexture.html">glTexture</a> *texture, float x=5.0f, float y=30.0f)</td></tr>
<tr class="memdesc:a528c58b4fcecd7d3d516f44de3233538"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render an OpenGL texture.  <a href="#a528c58b4fcecd7d3d516f44de3233538">More...</a><br /></td></tr>
<tr class="separator:a528c58b4fcecd7d3d516f44de3233538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1390428740909686cb8de18986cad565"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a1390428740909686cb8de18986cad565">Render</a> (float *image, uint32_t width, uint32_t height, float x=5.0f, float y=30.0f, bool normalize=true)</td></tr>
<tr class="memdesc:a1390428740909686cb8de18986cad565"><td class="mdescLeft">&#160;</td><td class="mdescRight">Render a CUDA float4 image using OpenGL interop If normalize is true, the image's pixel values will be rescaled from the range of [0-255] to [0-1] If normalize is false, the image's pixel values are assumed to already be in the range of [0-1] Note that if normalization is selected to be performed, it will be done in-place on the image.  <a href="#a1390428740909686cb8de18986cad565">More...</a><br /></td></tr>
<tr class="separator:a1390428740909686cb8de18986cad565"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a616a3220a6575d31bad5de69eca71e0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a616a3220a6575d31bad5de69eca71e0f">RenderOnce</a> (float *image, uint32_t width, uint32_t height, float x=5.0f, float y=30.0f, bool normalize=true)</td></tr>
<tr class="memdesc:a616a3220a6575d31bad5de69eca71e0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Begin the frame, render one CUDA float4 image using OpenGL interop, and end the frame.  <a href="#a616a3220a6575d31bad5de69eca71e0f">More...</a><br /></td></tr>
<tr class="separator:a616a3220a6575d31bad5de69eca71e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a12363aea016c16935833e2b58806d4c8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a12363aea016c16935833e2b58806d4c8">UserEvents</a> ()</td></tr>
<tr class="memdesc:a12363aea016c16935833e2b58806d4c8"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classProcess.html" title="Static functions for retrieving information about the running process. ">Process</a> UI events.  <a href="#a12363aea016c16935833e2b58806d4c8">More...</a><br /></td></tr>
<tr class="separator:a12363aea016c16935833e2b58806d4c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5dd4727a6a11d533c49a37c68791123f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a5dd4727a6a11d533c49a37c68791123f">onEvent</a> (uint msg, int a, int b)</td></tr>
<tr class="memdesc:a5dd4727a6a11d533c49a37c68791123f"><td class="mdescLeft">&#160;</td><td class="mdescRight">UI event handler.  <a href="#a5dd4727a6a11d533c49a37c68791123f">More...</a><br /></td></tr>
<tr class="separator:a5dd4727a6a11d533c49a37c68791123f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7c96e8b41901e1b0555baef0433d5794"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a7c96e8b41901e1b0555baef0433d5794">IsOpen</a> () const</td></tr>
<tr class="memdesc:a7c96e8b41901e1b0555baef0433d5794"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the window is open.  <a href="#a7c96e8b41901e1b0555baef0433d5794">More...</a><br /></td></tr>
<tr class="separator:a7c96e8b41901e1b0555baef0433d5794"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a634ed5ff30a1d2944f3667157a649c9a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a634ed5ff30a1d2944f3667157a649c9a">IsClosed</a> () const</td></tr>
<tr class="memdesc:a634ed5ff30a1d2944f3667157a649c9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the window has been closed.  <a href="#a634ed5ff30a1d2944f3667157a649c9a">More...</a><br /></td></tr>
<tr class="separator:a634ed5ff30a1d2944f3667157a649c9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a130822b4a5eda58692c0899627790700"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a130822b4a5eda58692c0899627790700">GetFPS</a> () const</td></tr>
<tr class="memdesc:a130822b4a5eda58692c0899627790700"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the average frame time (in milliseconds).  <a href="#a130822b4a5eda58692c0899627790700">More...</a><br /></td></tr>
<tr class="separator:a130822b4a5eda58692c0899627790700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a438d449fcde781da3d817855768ff1fd"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a438d449fcde781da3d817855768ff1fd">GetWidth</a> () const</td></tr>
<tr class="memdesc:a438d449fcde781da3d817855768ff1fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the width of the window (in pixels)  <a href="#a438d449fcde781da3d817855768ff1fd">More...</a><br /></td></tr>
<tr class="separator:a438d449fcde781da3d817855768ff1fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d1a9d351c3245607283c6d40af5d6d7"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a7d1a9d351c3245607283c6d40af5d6d7">GetHeight</a> () const</td></tr>
<tr class="memdesc:a7d1a9d351c3245607283c6d40af5d6d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the height of the window (in pixels)  <a href="#a7d1a9d351c3245607283c6d40af5d6d7">More...</a><br /></td></tr>
<tr class="separator:a7d1a9d351c3245607283c6d40af5d6d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a4943779f0d036af2e49fc9d9a8aade"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a4a4943779f0d036af2e49fc9d9a8aade">SetTitle</a> (const char *str)</td></tr>
<tr class="memdesc:a4a4943779f0d036af2e49fc9d9a8aade"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the window title string.  <a href="#a4a4943779f0d036af2e49fc9d9a8aade">More...</a><br /></td></tr>
<tr class="separator:a4a4943779f0d036af2e49fc9d9a8aade"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeccd8e8b25430ff8f9cf91cf79a4d7fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#aeccd8e8b25430ff8f9cf91cf79a4d7fa">SetBackgroundColor</a> (float r, float g, float b, float a)</td></tr>
<tr class="memdesc:aeccd8e8b25430ff8f9cf91cf79a4d7fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the background color.  <a href="#aeccd8e8b25430ff8f9cf91cf79a4d7fa">More...</a><br /></td></tr>
<tr class="separator:aeccd8e8b25430ff8f9cf91cf79a4d7fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a7bbeddde55655b595933142c3a616d1d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classglDisplay.html">glDisplay</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a7bbeddde55655b595933142c3a616d1d">Create</a> (float r=0.05f, float g=0.05f, float b=0.05f, float a=1.0f)</td></tr>
<tr class="memdesc:a7bbeddde55655b595933142c3a616d1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new maximized openGL display window.  <a href="#a7bbeddde55655b595933142c3a616d1d">More...</a><br /></td></tr>
<tr class="separator:a7bbeddde55655b595933142c3a616d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabe1af44764b94b5a2460f6ac815ef30"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classglDisplay.html">glDisplay</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#aabe1af44764b94b5a2460f6ac815ef30">Create</a> (const char *title, float r=0.05f, float g=0.05f, float b=0.05f, float a=1.0f)</td></tr>
<tr class="memdesc:aabe1af44764b94b5a2460f6ac815ef30"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new maximized openGL display window.  <a href="#aabe1af44764b94b5a2460f6ac815ef30">More...</a><br /></td></tr>
<tr class="separator:aabe1af44764b94b5a2460f6ac815ef30"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a1fc9d28ddbc0f849aea7b80e96b09a68"><td class="memItemLeft" align="right" valign="top">static const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a1fc9d28ddbc0f849aea7b80e96b09a68">DEFAULT_TITLE</a></td></tr>
<tr class="memdesc:a1fc9d28ddbc0f849aea7b80e96b09a68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default title bar name.  <a href="#a1fc9d28ddbc0f849aea7b80e96b09a68">More...</a><br /></td></tr>
<tr class="separator:a1fc9d28ddbc0f849aea7b80e96b09a68"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a3a192a037ecc3e0f568dc439e4b4c4af"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a3a192a037ecc3e0f568dc439e4b4c4af">glDisplay</a> ()</td></tr>
<tr class="separator:a3a192a037ecc3e0f568dc439e4b4c4af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d545e3ad748e899a413b1c954dc06d4"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a2d545e3ad748e899a413b1c954dc06d4">initWindow</a> ()</td></tr>
<tr class="separator:a2d545e3ad748e899a413b1c954dc06d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a022eebf333e5acf6df0fcf2f632a470a"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a022eebf333e5acf6df0fcf2f632a470a">initGL</a> ()</td></tr>
<tr class="separator:a022eebf333e5acf6df0fcf2f632a470a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ad809588391d7a2edafb0df1ea96ac35a"><td class="memItemLeft" align="right" valign="top">Display *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#ad809588391d7a2edafb0df1ea96ac35a">mDisplayX</a></td></tr>
<tr class="separator:ad809588391d7a2edafb0df1ea96ac35a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90154b9452e23a0665360e2008950e23"><td class="memItemLeft" align="right" valign="top">Screen *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a90154b9452e23a0665360e2008950e23">mScreenX</a></td></tr>
<tr class="separator:a90154b9452e23a0665360e2008950e23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a327c40adf83a91f4fb4916bc577ae0ab"><td class="memItemLeft" align="right" valign="top">XVisualInfo *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a327c40adf83a91f4fb4916bc577ae0ab">mVisualX</a></td></tr>
<tr class="separator:a327c40adf83a91f4fb4916bc577ae0ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59861c4376b388d34c57f06c9a460e97"><td class="memItemLeft" align="right" valign="top">Window&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a59861c4376b388d34c57f06c9a460e97">mWindowX</a></td></tr>
<tr class="separator:a59861c4376b388d34c57f06c9a460e97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecdedd41e0d674fb614b88fd9ca9fa15"><td class="memItemLeft" align="right" valign="top">GLXContext&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#aecdedd41e0d674fb614b88fd9ca9fa15">mContextGL</a></td></tr>
<tr class="separator:aecdedd41e0d674fb614b88fd9ca9fa15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa859d215e683531621ff6ad3173ffd4d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classglTexture.html">glTexture</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#aa859d215e683531621ff6ad3173ffd4d">mInteropTex</a></td></tr>
<tr class="separator:aa859d215e683531621ff6ad3173ffd4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd8adcb680935b9ea3ce974b141e5969"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#acd8adcb680935b9ea3ce974b141e5969">mWindowClosed</a></td></tr>
<tr class="separator:acd8adcb680935b9ea3ce974b141e5969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d20a9b3eb655b1719c3896f9af608e4"><td class="memItemLeft" align="right" valign="top">Atom&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a4d20a9b3eb655b1719c3896f9af608e4">mWindowClosedMsg</a></td></tr>
<tr class="separator:a4d20a9b3eb655b1719c3896f9af608e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2dd92f37832e555d1475e5f8c2484043"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a2dd92f37832e555d1475e5f8c2484043">mWidth</a></td></tr>
<tr class="separator:a2dd92f37832e555d1475e5f8c2484043"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee7874bab6e7f29546cd0d3ad04b424a"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#aee7874bab6e7f29546cd0d3ad04b424a">mHeight</a></td></tr>
<tr class="separator:aee7874bab6e7f29546cd0d3ad04b424a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a060f50c9661124d2d8aa457dfe30d4bc"><td class="memItemLeft" align="right" valign="top">timespec&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a060f50c9661124d2d8aa457dfe30d4bc">mLastTime</a></td></tr>
<tr class="separator:a060f50c9661124d2d8aa457dfe30d4bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5696e63a87c34b0d50d1615bca5072ad"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a5696e63a87c34b0d50d1615bca5072ad">mAvgTime</a></td></tr>
<tr class="separator:a5696e63a87c34b0d50d1615bca5072ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56e08dd6f4895451391ff9ce7e7b9390"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a56e08dd6f4895451391ff9ce7e7b9390">mBgColor</a> [4]</td></tr>
<tr class="separator:a56e08dd6f4895451391ff9ce7e7b9390"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a987e05d68219418d2d232665d92cc1a2"><td class="memItemLeft" align="right" valign="top">static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classglDisplay.html#a987e05d68219418d2d232665d92cc1a2">screenIdx</a> = 0</td></tr>
<tr class="separator:a987e05d68219418d2d232665d92cc1a2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>OpenGL display window / video viewer. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a3978a9f43490e6f19268ca5225679c60"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3978a9f43490e6f19268ca5225679c60">&#9670;&nbsp;</a></span>~glDisplay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">glDisplay::~glDisplay </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Destroy window. </p>

</div>
</div>
<a id="a3a192a037ecc3e0f568dc439e4b4c4af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3a192a037ecc3e0f568dc439e4b4c4af">&#9670;&nbsp;</a></span>glDisplay()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">glDisplay::glDisplay </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a33ed83d87e71cbfcef7347b41f541203"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a33ed83d87e71cbfcef7347b41f541203">&#9670;&nbsp;</a></span>BeginRender()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::BeginRender </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>userEvents</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear window and begin rendering a frame. </p>
<p>If userEvents is true, <a class="el" href="classglDisplay.html#a12363aea016c16935833e2b58806d4c8" title="Process UI events. ">UserEvents()</a> will automatically be processed. </p>

</div>
</div>
<a id="a7bbeddde55655b595933142c3a616d1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7bbeddde55655b595933142c3a616d1d">&#9670;&nbsp;</a></span>Create() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classglDisplay.html">glDisplay</a>* glDisplay::Create </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em> = <code>0.05f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>g</em> = <code>0.05f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em> = <code>0.05f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em> = <code>1.0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a new maximized openGL display window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>default background RGBA color, red component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">g</td><td>default background RGBA color, green component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">b</td><td>default background RGBA color, blue component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">a</td><td>default background RGBA color, alpha component (0.0-1.0f) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="aabe1af44764b94b5a2460f6ac815ef30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabe1af44764b94b5a2460f6ac815ef30">&#9670;&nbsp;</a></span>Create() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classglDisplay.html">glDisplay</a>* glDisplay::Create </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>title</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em> = <code>0.05f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>g</em> = <code>0.05f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em> = <code>0.05f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em> = <code>1.0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a new maximized openGL display window. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">title</td><td>window title bar label string </td></tr>
    <tr><td class="paramname">r</td><td>default background RGBA color, red component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">g</td><td>default background RGBA color, green component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">b</td><td>default background RGBA color, blue component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">a</td><td>default background RGBA color, alpha component (0.0-1.0f) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a97612036c5849cb4d7026337f2603c87"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97612036c5849cb4d7026337f2603c87">&#9670;&nbsp;</a></span>EndRender()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::EndRender </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finish rendering and refresh / flip the backbuffer. </p>

</div>
</div>
<a id="a130822b4a5eda58692c0899627790700"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a130822b4a5eda58692c0899627790700">&#9670;&nbsp;</a></span>GetFPS()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float glDisplay::GetFPS </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the average frame time (in milliseconds). </p>

</div>
</div>
<a id="a7d1a9d351c3245607283c6d40af5d6d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7d1a9d351c3245607283c6d40af5d6d7">&#9670;&nbsp;</a></span>GetHeight()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t glDisplay::GetHeight </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the height of the window (in pixels) </p>

</div>
</div>
<a id="a438d449fcde781da3d817855768ff1fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a438d449fcde781da3d817855768ff1fd">&#9670;&nbsp;</a></span>GetWidth()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t glDisplay::GetWidth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the width of the window (in pixels) </p>

</div>
</div>
<a id="a022eebf333e5acf6df0fcf2f632a470a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a022eebf333e5acf6df0fcf2f632a470a">&#9670;&nbsp;</a></span>initGL()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool glDisplay::initGL </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2d545e3ad748e899a413b1c954dc06d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d545e3ad748e899a413b1c954dc06d4">&#9670;&nbsp;</a></span>initWindow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool glDisplay::initWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a634ed5ff30a1d2944f3667157a649c9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a634ed5ff30a1d2944f3667157a649c9a">&#9670;&nbsp;</a></span>IsClosed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool glDisplay::IsClosed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the window has been closed. </p>

</div>
</div>
<a id="a7c96e8b41901e1b0555baef0433d5794"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7c96e8b41901e1b0555baef0433d5794">&#9670;&nbsp;</a></span>IsOpen()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool glDisplay::IsOpen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the window is open. </p>

</div>
</div>
<a id="a5dd4727a6a11d533c49a37c68791123f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5dd4727a6a11d533c49a37c68791123f">&#9670;&nbsp;</a></span>onEvent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::onEvent </td>
          <td>(</td>
          <td class="paramtype">uint&#160;</td>
          <td class="paramname"><em>msg</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>a</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>b</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>UI event handler. </p>

</div>
</div>
<a id="a528c58b4fcecd7d3d516f44de3233538"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a528c58b4fcecd7d3d516f44de3233538">&#9670;&nbsp;</a></span>Render() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::Render </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classglTexture.html">glTexture</a> *&#160;</td>
          <td class="paramname"><em>texture</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em> = <code>5.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em> = <code>30.0f</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render an OpenGL texture. </p>
<dl class="section note"><dt>Note</dt><dd>for more texture rendering methods, </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classglTexture.html" title="OpenGL texture with CUDA interoperability. ">glTexture</a> </dd></dl>

</div>
</div>
<a id="a1390428740909686cb8de18986cad565"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1390428740909686cb8de18986cad565">&#9670;&nbsp;</a></span>Render() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::Render </td>
          <td>(</td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em> = <code>5.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em> = <code>30.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>normalize</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Render a CUDA float4 image using OpenGL interop If normalize is true, the image's pixel values will be rescaled from the range of [0-255] to [0-1] If normalize is false, the image's pixel values are assumed to already be in the range of [0-1] Note that if normalization is selected to be performed, it will be done in-place on the image. </p>

</div>
</div>
<a id="a616a3220a6575d31bad5de69eca71e0f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a616a3220a6575d31bad5de69eca71e0f">&#9670;&nbsp;</a></span>RenderOnce()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::RenderOnce </td>
          <td>(</td>
          <td class="paramtype">float *&#160;</td>
          <td class="paramname"><em>image</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>height</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>x</em> = <code>5.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>y</em> = <code>30.0f</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>normalize</em> = <code>true</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Begin the frame, render one CUDA float4 image using OpenGL interop, and end the frame. </p>
<p>Note that this function is only useful if you are rendering a single texture per frame. If normalize is true, the image's pixel values will be rescaled from the range of [0-255] to [0-1] If normalize is false, the image's pixel values are assumed to already be in the range of [0-1] Note that if normalization is selected to be performed, it will be done in-place on the image </p>

</div>
</div>
<a id="aeccd8e8b25430ff8f9cf91cf79a4d7fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aeccd8e8b25430ff8f9cf91cf79a4d7fa">&#9670;&nbsp;</a></span>SetBackgroundColor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::SetBackgroundColor </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>b</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>a</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the background color. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">r</td><td>background RGBA color, red component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">g</td><td>background RGBA color, green component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">b</td><td>background RGBA color, blue component (0.0-1.0f) </td></tr>
    <tr><td class="paramname">a</td><td>background RGBA color, alpha component (0.0-1.0f) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4a4943779f0d036af2e49fc9d9a8aade"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4a4943779f0d036af2e49fc9d9a8aade">&#9670;&nbsp;</a></span>SetTitle()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::SetTitle </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>str</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the window title string. </p>

</div>
</div>
<a id="a12363aea016c16935833e2b58806d4c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a12363aea016c16935833e2b58806d4c8">&#9670;&nbsp;</a></span>UserEvents()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void glDisplay::UserEvents </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classProcess.html" title="Static functions for retrieving information about the running process. ">Process</a> UI events. </p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="a1fc9d28ddbc0f849aea7b80e96b09a68"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1fc9d28ddbc0f849aea7b80e96b09a68">&#9670;&nbsp;</a></span>DEFAULT_TITLE</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char* glDisplay::DEFAULT_TITLE</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default title bar name. </p>

</div>
</div>
<a id="a5696e63a87c34b0d50d1615bca5072ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5696e63a87c34b0d50d1615bca5072ad">&#9670;&nbsp;</a></span>mAvgTime</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float glDisplay::mAvgTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a56e08dd6f4895451391ff9ce7e7b9390"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a56e08dd6f4895451391ff9ce7e7b9390">&#9670;&nbsp;</a></span>mBgColor</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float glDisplay::mBgColor[4]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aecdedd41e0d674fb614b88fd9ca9fa15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecdedd41e0d674fb614b88fd9ca9fa15">&#9670;&nbsp;</a></span>mContextGL</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GLXContext glDisplay::mContextGL</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="ad809588391d7a2edafb0df1ea96ac35a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad809588391d7a2edafb0df1ea96ac35a">&#9670;&nbsp;</a></span>mDisplayX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Display* glDisplay::mDisplayX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aee7874bab6e7f29546cd0d3ad04b424a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aee7874bab6e7f29546cd0d3ad04b424a">&#9670;&nbsp;</a></span>mHeight</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t glDisplay::mHeight</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="aa859d215e683531621ff6ad3173ffd4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa859d215e683531621ff6ad3173ffd4d">&#9670;&nbsp;</a></span>mInteropTex</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classglTexture.html">glTexture</a>* glDisplay::mInteropTex</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a060f50c9661124d2d8aa457dfe30d4bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a060f50c9661124d2d8aa457dfe30d4bc">&#9670;&nbsp;</a></span>mLastTime</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">timespec glDisplay::mLastTime</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a90154b9452e23a0665360e2008950e23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90154b9452e23a0665360e2008950e23">&#9670;&nbsp;</a></span>mScreenX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Screen* glDisplay::mScreenX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a327c40adf83a91f4fb4916bc577ae0ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a327c40adf83a91f4fb4916bc577ae0ab">&#9670;&nbsp;</a></span>mVisualX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">XVisualInfo* glDisplay::mVisualX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a2dd92f37832e555d1475e5f8c2484043"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2dd92f37832e555d1475e5f8c2484043">&#9670;&nbsp;</a></span>mWidth</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t glDisplay::mWidth</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="acd8adcb680935b9ea3ce974b141e5969"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd8adcb680935b9ea3ce974b141e5969">&#9670;&nbsp;</a></span>mWindowClosed</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool glDisplay::mWindowClosed</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a4d20a9b3eb655b1719c3896f9af608e4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d20a9b3eb655b1719c3896f9af608e4">&#9670;&nbsp;</a></span>mWindowClosedMsg</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Atom glDisplay::mWindowClosedMsg</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a59861c4376b388d34c57f06c9a460e97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59861c4376b388d34c57f06c9a460e97">&#9670;&nbsp;</a></span>mWindowX</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Window glDisplay::mWindowX</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a987e05d68219418d2d232665d92cc1a2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a987e05d68219418d2d232665d92cc1a2">&#9670;&nbsp;</a></span>screenIdx</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const int glDisplay::screenIdx = 0</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>jetson-utils/<a class="el" href="glDisplay_8h_source.html">glDisplay.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="classglDisplay.html">glDisplay</a></li>
    <li class="footer">Generated on Fri Jun 21 2019 16:23:15 for Jetson Inference by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
  </ul>
</div>
</body>
</html>
